uses Forms, MyPascalUnit;
var
  F: TMyForm;
begin
  F := TMyForm.Create;
  F.ShowModal;
  F.Free;
end.